﻿using System;

namespace ObjectModel
{
    public class Address
    {
        [Field(IsOtherTable = true, Name = "id_street_type")]
        public StreetType StreetType { get; set; }

        [Field(Name = "street")]
        public String Street { get; set; }

        [Field(Name = "number")]
        public String Number { get; set; }

        [Field(Name = "complement")]
        public String Complement { get; set; }

        [Field(Name = "cep")]
        public String Cep { get; set; }

        [Field(IsOtherTable = true, Name = "id_neighbourhood")]
        public Neighbourhood Neighbourhood { get; set; }
    }
}
